/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2008-2008 Hechzh Property

   

   

   
*/
/*
 * Written by Kern Sibbald, February 2008
 */

#ifndef __DLFCN_H_
#define __DLFCN_H_

#define RTLD_LAZY 0x00001   /* Deferred function binding */
#define RTLD_NOW 0x00002    /* Immediate function binding */
#define RTLD_NOLOAD 0x00004 /* Don't load object */

#define RTLD_GLOBAL 0x00100 /* Export symbols to others */
#define RTLD_LOCAL 0x00000  /* Symbols are only available to group members */

void* dlopen(const char* file, int mode);
void* dlsym(void* handle, const char* name);
int dlclose(void* handle);
char* dlerror(void);

#endif /* __DLFCN_H_ */
